'use strict';


/** @type Egg.EggPlugin */
module.exports = {
  // had enabled by egg
  // static: {
  //   enable: true,
  // }
  // 开启nunjucks插件
  nunjucks: {
    enable: true,
    package: 'egg-view-nunjucks',
  },
  // 开启mysql数据库
  mysql: {
    enable: true,
    package: 'egg-mysql',
  },
  validate: {
    enable: true,
    package: 'egg-validate',
  },
  // 鉴权
  passport: {
    enable: true,
    package: 'egg-passport',
  },
  // 开启swagger
  swaggerdoc: {
    enable: false,
    package: 'egg-swagger-doc',
  },
  // 开启跨域
  cors: {
    enable: true,
    package: 'egg-cors',
  },

};
